<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.io.FileSystem</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.io.FileSystem";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.io.FileSystem.html" class="symbol">tango.io.FileSystem</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Mar 2004: Initial release
<p class="sec_header">Version:</p>Feb 2007: Now using mutating paths
<p class="sec_header">Author:</p>Kris, Chris Sauls (Win95 file support)
<dl>
<dt class="decl">struct <a class="symbol _struct" name="FileSystem" href="./htmlsrc/tango.io.FileSystem.html#L47" kind="struct" beg="47" end="315">FileSystem</a>; <a title="Permalink to this symbol" href="#FileSystem" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileSystem.html#L47">#</a></dt>
<dd class="ddef">
<div class="summary">Models an OS-specific file-system. Included here are methods to
        manipulate the current working directory, and to convert a path
        to its absolute form.</div>
<dl>
<dt class="decl">FilePath <a class="symbol _function" name="FileSystem.toAbsolute" href="./htmlsrc/tango.io.FileSystem.html#L60" kind="function" beg="60" end="70">toAbsolute</a><span class="params">(FilePath <em>target</em>, char[] <em>prefix</em> = null)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#FileSystem.toAbsolute" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileSystem.html#L60">#</a></dt>
<dd class="ddef">
<div class="summary">Convert the provided path to an absolute path, using the
                current working directory where prefix is not provided. 
                If the given path is already an absolute path, return it 
                intact.</div>
Returns the provided path, adjusted as necessary</dd>
<dt class="decl">char[] <a class="symbol _function" name="FileSystem.toAbsolute:2" href="./htmlsrc/tango.io.FileSystem.html#L83" kind="function" beg="83" end="87">toAbsolute</a><span class="params">(char[] <em>path</em>, char[] <em>prefix</em> = null)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#FileSystem.toAbsolute:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileSystem.html#L83">#</a></dt>
<dd class="ddef">
<div class="summary">Convert the provided path to an absolute path, using the
                current working directory where prefix is not provided. 
                If the given path is already an absolute path, return it 
                intact.</div>
Returns the provided path, adjusted as necessary</dd>
<dt class="decl">bool <a class="symbol _function" name="FileSystem.equals" href="./htmlsrc/tango.io.FileSystem.html#L100" kind="function" beg="100" end="105">equals</a><span class="params">(char[] <em>path1</em>, char[] <em>path2</em>, char[] <em>prefix</em> = null)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#FileSystem.equals" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileSystem.html#L100">#</a></dt>
<dd class="ddef">
<div class="summary">Compare to paths for absolute equality. The given prefix
                is prepended to the paths where they are not already in
                absolute format (start with a '/'). Where prefix is not
                provided, the current working directory will be used</div>
Returns true if the paths are equivalent, false otherwise</dd>
<dt class="decl">void <a class="symbol _function" name="FileSystem.exception" href="./htmlsrc/tango.io.FileSystem.html#L111" kind="function" beg="111" end="114">exception</a><span class="params">(char[] <em>msg</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#FileSystem.exception" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.io.FileSystem.html#L111">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:57 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>